<template>
  <van-nav-bar :title="title" :border="false">
    <template #left>
      <van-icon name="arrow-left" size="20" color="#565656" @click="goBack" />
    </template>
  </van-nav-bar>
</template>

<script>
export default {
  props: ['title'],
  methods: {
    goBack() {
      this.$router.go(-1);
    },
  },
};
</script>
